// @ts-nocheck
import * as http from '@/tools/http'



/*获取全部街道*/
export async function querySubDistrict(params: object) {
  return http.get('/api/resource/subDistrict',params)
}

/*新建街道*/
export async function createSubDistrict(params: object) {
  return http.post('/api/resource/subDistrict',params)
}

/*修改街道*/
export async function modifySubDistrict(params: object) {
  return http.put('/api/resource/subDistrict',params)
}

/*查询街道根据区域*/
export async function querySubDistrictByDistrict(params: object) {
  return http.get('/api/resource/querySubDistrictByDistrict',params)
}


export async function delSubDistrict(params: object) {
  return http.del('/api/resource/subDistrict',params)
}
